<?php
namespace app\admin\model;

use think\Model;

class DaystatisticModel extends Model{
    // 确定链接表名
    protected $name = 'statistics_day';

	/**
	 * [获取交易信息汇总数据]
	 */
	public function getStatistics($sea,$where,$field){
		return $this->where($sea)->where($where)->where($this->WhereCansee())->sum($field);
	}
}
